//
//  ZDetailMidTableViewCell.m
//  DoctorFAQs
//
//  Created by zjq on 17/2/22.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZDetailMidTableViewCell.h"
@interface ZDetailMidTableViewCell (){
    UIView * _garyView;
}

@end
@implementation ZDetailMidTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initlizeInterface];
    }
    return self;
}
- (void)initlizeInterface {
    _titleLabel = [[UILabel alloc] init];
    _inputTextFeield = [[UITextField alloc] init];
    _garyView = [[UIView alloc] init];
    _garyView.backgroundColor = MYGRAYCOLOR;
    [self.contentView addSubview:_titleLabel];
    [self.contentView addSubview:_inputTextFeield];
    [self.contentView addSubview:_garyView];
    [_garyView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.width.equalTo(self.contentView).multipliedBy(0.8);
        make.height.offset(1.5*ysIZE);
        make.bottom.centerX.equalTo(self.contentView);
    }];

} 
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
